<template>
  <div class="test-container">
    <Loading></Loading>
    <button @click="isLoading = true">显示/隐藏</button>
  </div>
</template>

<script>
import Loading from "./";
export default {
  components: { Loading },
  data: () => ({
    isLoading: true,
  }),
};
</script>

<style lang='less' scoped>
.test-container {
  position: relative;
}
</style>
